<template>
    <div class="tdLayout">
        <div class="left">

        </div>
        <div class="right">
            <bili-up-info   :birth="store.state.upInfo?.birthday" 
                            :uid="store.state.upInfo?.mid" 
                            :school="store.state.upInfo.school?.name" 
                            :tags="store.state.upInfo?.tags"
                        ></bili-up-info>
        </div>
    </div> 
</template>

<script lang="ts" setup>
import { biliUpInfo } from './index'
import { get } from '@/http/axios'
import { onBeforeMount,ref } from 'vue'
import { useStore } from 'vuex'

interface Props{
    mid:number
}
const props = defineProps<Props>()
const store = useStore()
let info = ref()
onBeforeMount(() => {
    initData()
})
function initData(offset: string = '') {
    get('/x/polymer/web-dynamic/v1/feed/space?', {
        offset,
        host_mid: props.mid,
        timezone_offset: -480,
        features: 'itmOpusStyle,listOnlyfans'
    }).then(res => {
        console.log('动态',res.data);
        info.value = res.data
    })
}


</script>

<style lang="scss" scoped>
.tdLayout{
    min-width: 1300px;
    background: white;
    margin-top: 30px;
    display: flex;
    border: 1px solid var(--el-border-color);
    border-radius: 4px;
}
</style>